home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 5 / Gold Medal Software - Volume 5 (Gold Medal) (1995).iso / accounts / jobhunt.arj / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-09-14  |  2KB  |  67 lines

  1. ECHO OFF
  2. echo ┌──────────────────────────────────────────────────────────────────┐
  3. echo │                                                                  │
  4. echo │    ▀██▀ ▄█▀▀▀█▄ ▀██▀██▄         ██   ██  ██  ██ ██▄  ██  █▀██▀█  │
  5. echo │     ██  ██   ██  ██▄▄█▀         ██▄▄▄██  ██  ██ ████▄██    ██    │
  6. echo │ ▄▄  ██  ██   ██  ██ ▄██         ██   ██  ██  ██ ██ ▀███    ██    │
  7. echo │  ▀▀▀▀    ▀▀▀▀▀  ▀▀▀▀▀▀          ▀▀   ▀▀   ▀▀▀▀  ▀▀   ▀▀   ▀▀▀▀   │
  8. echo │ (c)Copyright 1991,92,93 W.J. Sharman               Version 2.0   │
  9. echo └──────────────────────────────────────────────────────────────────┘
  10. if "%1"=="" goto NoPARAMS
  11. :Find_Target
  12. echo Looking for Target Directory %1
  13. Echo JOB HUNT V2.0 Installed > %1\JOBHUNT.INS
  14. if Exist %1\JOBHUNT.INS goto Find_ID
  15. :Dir_not_found
  16. echo.
  17. echo *** ERROR *** Target directory %1 does not exist.
  18. echo Press any key to create directory or CTRL-BREAK to ABORT
  19. pause >nul
  20. md %1
  21. cls
  22. Goto Find_target
  23.  
  24. :Find_ID
  25. Echo ┌────────────────────────────────┐
  26. Echo │LOOKING FOR DRIVE IDENTIFICATION│
  27. Echo └────────────────────────────────┘
  28. echo.
  29. echo If this disk is not in your first drive and there is no disk
  30. echo in your first drive you may get the message
  31. echo    Not ready reading Drive X
  32. echo.
  33. echo This is NOT an error - just press A for Abort.
  34. if exist floppy.id goto start
  35. a:
  36. if exist floppy.id goto start
  37. b:
  38. if exist floppy.id goto start
  39. cls
  40. echo ERROR cannot find drive ID file.
  41. echo INSTALLATION TERMINATED
  42. goto END
  43.  
  44. :start
  45. echo.
  46. ECHO COPYING JOB HUNT Files - press Ctrl-Break to abort OR
  47. Pause
  48. copy *.* %1
  49. if errorlevel 1 goto Install_Error
  50. echo Files copied ..............
  51. goto end
  52. :noParams
  53. echo Error  - No destination specified    :USAGE: INSTALL PATH
  54. goto end
  55.  
  56. :install_Error
  57. Echo.
  58. Echo.
  59. Echo An Error was encountered during installation.
  60. Echo Please check that target directory exists and all files
  61. echo have been copied.
  62. pause
  63. :end
  64. cd %1
  65. echo Change to target drive and
  66. echo type JH to run program or DEMO to run demo
  67.